package Example1;

import java.nio.channels.NonReadableChannelException;

class A {
    private NoRelationshipClass noRelationshipClass;
    public A() {
        noRelationshipClass=new NoRelationshipClass();
        System.out.println("A is created!");
    }
}

class B extends A {
    public B() {
        System.out.println("B is created!");
    }
}

class C extends B {
    public C() {
        System.out.println("C is  created!");
    }
}

public class TestExample {
    public static void main(String[] args) {
        C c = new C();
    }
}
